package com.test.pattern.proxy.jdk_proxy;

/**
 * @ClassName: Client
 * @description:
 * @author: Mr du
 * @create: 2024-02-18 22:41
 */
public class Client {

    public static void main(String[] args) {
        //获取代理对象
        ProxyFactory proxyFactory = new ProxyFactory();
        SellTickets proxyObject = proxyFactory.getProxyObject();
        proxyObject.sell();
        System.out.println(proxyObject.getClass());
        while (true){}
    }
}
